package com.pgytesting.secondhandcar.model;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

import java.io.Serializable;

/**
 * 补充基本信息(SupplementaryBasicInformation)实体类
 *
 * @author makejava
 * @since 2019-08-12 18:55:58
 */
@Data
@JsonInclude(JsonInclude.Include.NON_NULL)   // 注解对对象空值进行json互转时的null值进行移除
public class SupplementaryBasicInformation implements Serializable {
    //ID
    private String id;
    //用户账号
    private String userNumber;
    //所在城市
    private String city;
    //详细地址
    private String address;
    //婚姻状态
    private String maritalStatus;
    //是否有车
    private String isThereACar;
    //驾驶证号
    private String driversLicenseNumber;
    //驾驶证型号
    private String driversLicenseModel;
    //学历
    private String education;
    //税后收入
    private Double afterTaxIncome;
    //职业性质
    private String professionalNatureId;
    //直系亲属
    private String immediateFamilyId;
    //工作证明人
    private String workProverId;
    //服务密码
    private String servicePassword;
    //融入商业险
    private String integrationIntoCommercialInsurance;
    // 贷款信息ID
    private String loanInformationId;
    //创建人
    private String createdBy;
    //创建时间
    private Long createdTime;
    //更新人
    private String updatedBy;
    //更新时间
    private Long updatedTime;
    //状态 -1为删除或者异常，默认为0
    private Integer status;

    // 亲属朋友
    private RelativesAndFriends relativesAndFriends;
    // 工作证明人
    private RelativesAndFriends workProver;
    // 工作信息
    private WorkInfo workInfo;
    // 贷款信息
    private LoanInformation loanInformation;
}